<?xml version = '1.0' encoding = 'UTF-8'?>
<trigger xmlns="http://xmlns.oracle.com/jdeveloper/1111/offlinedb">
  <ID class="oracle.javatools.db.IdentifierBasedID">
    <name>DEPT_TRG</name>
    <identifier class="java.lang.String">2ee53aaa-ec07-4b7c-9d2b-bb955b5dabcf</identifier>
    <schemaName>R3LABELTR</schemaName>
    <type>TRIGGER</type>
  </ID>
  <name>DEPT_TRG</name>
  <baseType>TABLE</baseType>
  <code>BEGIN
  &lt;&lt;COLUMN_SEQUENCES&gt;&gt;
  BEGIN
    SELECT DEPT_SEQ.NEXTVAL INTO :NEW.DEPARTMENT_ID FROM DUAL;
  END COLUMN_SEQUENCES;
END;</code>
  <enabled>true</enabled>
  <events>
    <event>INSERT</event>
  </events>
  <schema>
    <ID class="oracle.javatools.db.IdentifierBasedID">
      <name>R3LABELTR</name>
      <identifier class="java.lang.String">528ce7df-9ee7-46d9-a63c-36c14a46537d</identifier>
      <schemaName>R3LABELTR</schemaName>
      <type>SCHEMA</type>
    </ID>
    <name>R3LABELTR</name>
  </schema>
  <source>CREATE TRIGGER DEPT_TRG
BEFORE INSERT ON DEPARTMENTS
FOR EACH ROW 
BEGIN
  &lt;&lt;COLUMN_SEQUENCES&gt;&gt;
  BEGIN
    SELECT DEPT_SEQ.NEXTVAL INTO :NEW.DEPARTMENT_ID FROM DUAL;
  END COLUMN_SEQUENCES;
END;</source>
  <statementLevel>false</statementLevel>
  <tableID class="oracle.javatools.db.IdentifierBasedID">
    <name>DEPARTMENTS</name>
    <identifier class="java.lang.String">fc515b7c-69c5-4850-aaf7-73cbfb17ec8c</identifier>
    <schemaName>R3LABELTR</schemaName>
    <type>TABLE</type>
  </tableID>
  <timing>BEFORE</timing>
</trigger>
